﻿namespace WebShopData
{
    public class Article
    {
        public int ArticleID { get; set; }
        public string Name { get; set; }
        public double UnitPrice { get; set; }

        public Article(int articleid, string name, double unitPrice)
        {
            ArticleID = articleid;
            Name = name;
            UnitPrice = unitPrice;
        }

        public override string ToString()
        {
            return string.Format("{0}  {1}  {2}", ArticleID,Name,UnitPrice);
        }
    }
}
